#include <iostream>
using std::cin;
using std::cout;
using namespace std;
int main()
{
    char ch;
    cin >> ch;
    cout << "  " << ch << endl
         << " " << ch << ch << ch << endl
         << ch << ch << ch << ch << ch;
}